package info.wf0913.blogger_service.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import info.wf0913.blogger_core.bean.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("tbl_essay")
public class Essay extends BaseEntity {
    //文章标题
    @TableField("essay_head")
    private String essayHead;
    //文章简写部分
    @TableField("essay_sumarry")
    private String essaySumarry;
    //文章内容
    @TableField("essay_content")
    private String essayContent;
    //文章发布时间
    @TableField("essay_time")
    private String essayTime;
    //文章地址
    @TableField("forum_link")
    private String forumLink;
    //文章评论内容
    @TableField(exist = false)
    private Page<Comment> tblComments;
    //文章标签
    @TableField(exist = false)
    private List<Label> tblLabels;



}
